package org.stream.answerduel.vo.Subject;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @author  郭榕
 * @date    2019/7/15  17:15
 * 功能描述：封装题目类型;
 *
 */
@ApiModel("题目类型")
@Slf4j
@Data
@Accessors(chain = true)
public class SubjectTypeVo {

    @ApiModelProperty
    private String tagId;

    @ApiModelProperty
    private String tagValue;

    @ApiModelProperty
    private List<SubjectTypeVo> children;


    @Override
    public String toString() {
        return "SubjectTypeVo{" +
                "tagId='" + tagId + '\'' +
                ", tagValue='" + tagValue + '\'' +
                ", children=" + children +
                '}';
    }
}
